{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": [
    "from infer_img import *"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "100%|████████████████████████████████████████████████████████████████████████████| 5000/5000 [00:01<00:00, 2685.78it/s]\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "using cosine layer\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "100%|██████████████████████████████████████████████████████████████████████████████████| 63/63 [01:13<00:00,  1.17s/it]\n",
      "100%|██████████████████████████████████████████████████████████████████████████████████| 28/28 [00:08<00:00,  3.28it/s]\n"
     ]
    }
   ],
   "source": [
    "inst_ds = get_pred_img('../../input/validation_dataset_part1/image')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'file_name': '../../input/validation_dataset_part1/image/001645/1.jpg',\n",
       " 'height': 800,\n",
       " 'width': 800,\n",
       " 'item_id': '001645',\n",
       " 'type': 'image',\n",
       " 'bbox': [229, 22, 548, 778],\n",
       " 'score': 0.997787356376648,\n",
       " 'bbox_aspect': 0.421957671957672,\n",
       " 'aspect_group': 2,\n",
       " 'feat': [0.07581817358732224,\n",
       "  -0.05067245289683342,\n",
       "  0.012398162856698036,\n",
       "  -0.01395690068602562,\n",
       "  -0.03615764528512955,\n",
       "  -0.023070985451340675,\n",
       "  0.018611563369631767,\n",
       "  0.032739270478487015,\n",
       "  -0.06082642823457718,\n",
       "  0.020415199920535088,\n",
       "  0.010319114662706852,\n",
       "  -0.05381931737065315,\n",
       "  -0.029176820069551468,\n",
       "  -0.036551281809806824,\n",
       "  -0.03877662867307663,\n",
       "  -0.060441531240940094,\n",
       "  -0.04532082378864288,\n",
       "  0.021239884197711945,\n",
       "  0.0058607663959264755,\n",
       "  -0.028380481526255608,\n",
       "  -0.02442200481891632,\n",
       "  0.058340173214673996,\n",
       "  0.03154062107205391,\n",
       "  0.04988424852490425,\n",
       "  -0.00392179237678647,\n",
       "  0.042579151690006256,\n",
       "  0.015087530016899109,\n",
       "  -0.06939172744750977,\n",
       "  -0.04835684970021248,\n",
       "  -0.04505016282200813,\n",
       "  -0.06746786832809448,\n",
       "  -0.0436047688126564,\n",
       "  0.0011427773861214519,\n",
       "  0.037312284111976624,\n",
       "  0.019277438521385193,\n",
       "  0.002619621343910694,\n",
       "  0.02153327874839306,\n",
       "  0.03714141994714737,\n",
       "  -0.029921088367700577,\n",
       "  0.027186691761016846,\n",
       "  -0.0404214933514595,\n",
       "  0.03724672272801399,\n",
       "  -0.008445103652775288,\n",
       "  -0.033611323684453964,\n",
       "  -0.015185538679361343,\n",
       "  0.05888588726520538,\n",
       "  0.051559023559093475,\n",
       "  0.04667788743972778,\n",
       "  0.02717476151883602,\n",
       "  -0.026050111278891563,\n",
       "  0.016609052196145058,\n",
       "  -0.01329348236322403,\n",
       "  -0.01435756403952837,\n",
       "  -0.09492608904838562,\n",
       "  -0.05007265880703926,\n",
       "  -0.01870686747133732,\n",
       "  -0.040836039930582047,\n",
       "  0.023189349099993706,\n",
       "  -0.020636701956391335,\n",
       "  -0.0068640331737697124,\n",
       "  0.014839102514088154,\n",
       "  0.04266512021422386,\n",
       "  -0.02716430090367794,\n",
       "  0.00530901737511158,\n",
       "  -0.02862299419939518,\n",
       "  -0.0023265681229531765,\n",
       "  -0.05530315265059471,\n",
       "  0.04161718860268593,\n",
       "  -0.010190095752477646,\n",
       "  -0.012331612408161163,\n",
       "  -0.1420540064573288,\n",
       "  -0.01633068546652794,\n",
       "  0.01325980480760336,\n",
       "  0.07864602655172348,\n",
       "  -0.01926490291953087,\n",
       "  -0.012820341624319553,\n",
       "  0.010110711678862572,\n",
       "  0.06896944344043732,\n",
       "  0.007060225587338209,\n",
       "  -0.04739611595869064,\n",
       "  0.028603706508874893,\n",
       "  -0.019220205023884773,\n",
       "  -0.004038244020193815,\n",
       "  -0.006171722896397114,\n",
       "  -0.011329324916005135,\n",
       "  -0.012574218213558197,\n",
       "  0.048226241022348404,\n",
       "  -0.007780943065881729,\n",
       "  -0.03629056736826897,\n",
       "  0.034358639270067215,\n",
       "  0.05929698422551155,\n",
       "  0.020248273387551308,\n",
       "  0.04087468236684799,\n",
       "  -0.02999839000403881,\n",
       "  -0.0072271027602255344,\n",
       "  0.05558469891548157,\n",
       "  0.030352303758263588,\n",
       "  -0.05091053247451782,\n",
       "  -0.024048637598752975,\n",
       "  0.06765800714492798,\n",
       "  -0.03991583362221718,\n",
       "  -0.027024537324905396,\n",
       "  0.0561327300965786,\n",
       "  0.02122008241713047,\n",
       "  -0.013363915495574474,\n",
       "  0.024096030741930008,\n",
       "  0.06975530833005905,\n",
       "  -0.045203983783721924,\n",
       "  0.019656812772154808,\n",
       "  -0.04717059060931206,\n",
       "  0.03225047513842583,\n",
       "  0.013907407410442829,\n",
       "  -0.018965980038046837,\n",
       "  -0.000514655897859484,\n",
       "  0.02164722979068756,\n",
       "  -0.0606946125626564,\n",
       "  0.05061371996998787,\n",
       "  0.020990630611777306,\n",
       "  0.006547632161527872,\n",
       "  0.022338973358273506,\n",
       "  -0.009316841140389442,\n",
       "  0.0402483195066452,\n",
       "  0.004070296883583069,\n",
       "  -0.012478518299758434,\n",
       "  -0.005457864608615637,\n",
       "  -0.02340618520975113,\n",
       "  -0.05858010798692703,\n",
       "  0.06466761976480484,\n",
       "  0.02810923382639885,\n",
       "  0.002859208034351468,\n",
       "  0.029328495264053345,\n",
       "  -0.034255411475896835,\n",
       "  0.001474115764722228,\n",
       "  0.010631770826876163,\n",
       "  -0.030871903523802757,\n",
       "  0.030431348830461502,\n",
       "  0.02544989064335823,\n",
       "  0.009106569923460484,\n",
       "  0.060458119958639145,\n",
       "  -0.03633086755871773,\n",
       "  -0.019585728645324707,\n",
       "  -0.0547352135181427,\n",
       "  0.029279673472046852,\n",
       "  -0.05778607726097107,\n",
       "  0.05360976979136467,\n",
       "  -0.06025025621056557,\n",
       "  -0.017172519117593765,\n",
       "  -0.005651903338730335,\n",
       "  -0.034857477992773056,\n",
       "  -0.0023960547987371683,\n",
       "  0.00036939678830094635,\n",
       "  0.11615660786628723,\n",
       "  0.010280463844537735,\n",
       "  0.07346969097852707,\n",
       "  0.047029029577970505,\n",
       "  0.04144975543022156,\n",
       "  0.04401661083102226,\n",
       "  -0.025483623147010803,\n",
       "  -0.00031677354127168655,\n",
       "  -0.026466092094779015,\n",
       "  0.00429989118129015,\n",
       "  -0.02381662093102932,\n",
       "  -0.0914917141199112,\n",
       "  0.002152326051145792,\n",
       "  0.0665116161108017,\n",
       "  0.07513923197984695,\n",
       "  0.1284152716398239,\n",
       "  -0.004675580654293299,\n",
       "  -0.04107876494526863,\n",
       "  -0.01976490020751953,\n",
       "  0.07092799246311188,\n",
       "  -0.10938926041126251,\n",
       "  -0.02664429321885109,\n",
       "  0.0417148694396019,\n",
       "  -0.04695560783147812,\n",
       "  0.03406751528382301,\n",
       "  -0.014274035580456257,\n",
       "  -0.11691951006650925,\n",
       "  0.0573999248445034,\n",
       "  -0.05171675980091095,\n",
       "  0.00044359886669553816,\n",
       "  0.07995454967021942,\n",
       "  -0.041200608015060425,\n",
       "  -0.0042859818786382675,\n",
       "  0.01622150093317032,\n",
       "  -0.03639870509505272,\n",
       "  0.050654336810112,\n",
       "  0.002336409641429782,\n",
       "  -0.06463973224163055,\n",
       "  -0.040125902742147446,\n",
       "  0.03866778686642647,\n",
       "  -0.04878753423690796,\n",
       "  0.01082784216850996,\n",
       "  0.08920703828334808,\n",
       "  0.00974507350474596,\n",
       "  -0.11078988760709763,\n",
       "  -0.005028895102441311,\n",
       "  0.09477148205041885,\n",
       "  0.04162536934018135,\n",
       "  -0.0005644455668516457,\n",
       "  0.02053886279463768,\n",
       "  0.0013057112228125334,\n",
       "  0.053618527948856354,\n",
       "  -0.0021105660125613213,\n",
       "  0.018872693181037903,\n",
       "  -0.06613918393850327,\n",
       "  0.0079486770555377,\n",
       "  0.05319106578826904,\n",
       "  0.022053077816963196,\n",
       "  0.0723603367805481,\n",
       "  0.03568974882364273,\n",
       "  -0.07992370426654816,\n",
       "  0.04673554375767708,\n",
       "  0.08919147402048111,\n",
       "  0.07419561594724655,\n",
       "  -0.0017136632231995463,\n",
       "  0.014655900187790394,\n",
       "  -0.016990449279546738,\n",
       "  -0.005400113295763731,\n",
       "  0.04672535881400108,\n",
       "  -0.13038977980613708,\n",
       "  0.027506036683917046,\n",
       "  0.018084261566400528,\n",
       "  -0.00904869195073843,\n",
       "  0.07117555290460587,\n",
       "  0.05490764603018761,\n",
       "  0.0233287550508976,\n",
       "  0.01614169031381607,\n",
       "  0.00789978913962841,\n",
       "  0.033394668251276016,\n",
       "  -0.0827552005648613,\n",
       "  0.07193733751773834,\n",
       "  0.02603430114686489,\n",
       "  -0.03591231629252434,\n",
       "  -0.008705445565283298,\n",
       "  0.0027492742519825697,\n",
       "  -0.10227598994970322,\n",
       "  -0.034523069858551025,\n",
       "  0.017185095697641373,\n",
       "  0.02086423523724079,\n",
       "  -0.00945387315005064,\n",
       "  0.03359183296561241,\n",
       "  -0.01789013110101223,\n",
       "  0.029896840453147888,\n",
       "  0.01997244358062744,\n",
       "  -0.0547734834253788,\n",
       "  0.04865005984902382,\n",
       "  -0.09091994911432266,\n",
       "  -0.02938265912234783,\n",
       "  0.023319322615861893,\n",
       "  -0.015561483800411224,\n",
       "  0.027086755260825157,\n",
       "  0.03157598525285721,\n",
       "  0.013805003836750984,\n",
       "  0.03348592296242714,\n",
       "  0.005370983853936195,\n",
       "  -0.021799424663186073,\n",
       "  -0.013671298511326313,\n",
       "  0.019650757312774658,\n",
       "  -0.09500601142644882,\n",
       "  -0.01164851151406765,\n",
       "  -0.05177092179656029,\n",
       "  0.0011530760675668716,\n",
       "  -0.008790047839283943,\n",
       "  0.04450644180178642,\n",
       "  0.009635335765779018,\n",
       "  0.05170563980937004,\n",
       "  -0.07241293042898178,\n",
       "  -0.017127223312854767,\n",
       "  -0.05425972864031792,\n",
       "  -0.006032639183104038,\n",
       "  0.022485807538032532,\n",
       "  0.020402709022164345,\n",
       "  -0.02598830685019493,\n",
       "  -0.015467646531760693,\n",
       "  -0.057277701795101166,\n",
       "  -0.027456894516944885,\n",
       "  0.010698862373828888,\n",
       "  0.05345875769853592,\n",
       "  -0.035780228674411774,\n",
       "  0.010227524675428867,\n",
       "  0.046950943768024445,\n",
       "  -0.0037530516274273396,\n",
       "  0.042347442358732224,\n",
       "  -0.00029555006767623127,\n",
       "  -0.06605204939842224,\n",
       "  0.06548921018838882,\n",
       "  0.004526865668594837,\n",
       "  -0.12037522345781326,\n",
       "  0.01730949617922306,\n",
       "  -0.05149862542748451,\n",
       "  -0.06308276206254959,\n",
       "  -0.03104543313384056,\n",
       "  -0.04578414559364319,\n",
       "  0.01802286133170128,\n",
       "  -0.018199477344751358,\n",
       "  -0.002966521307826042,\n",
       "  -0.039928216487169266,\n",
       "  0.02506985142827034,\n",
       "  -0.094792939722538,\n",
       "  -0.03208845853805542,\n",
       "  0.09870579093694687,\n",
       "  0.01485677994787693,\n",
       "  0.053910356014966965,\n",
       "  -0.08232524991035461,\n",
       "  0.03378160670399666,\n",
       "  0.04532694071531296,\n",
       "  -0.04127547889947891,\n",
       "  -0.028690669685602188,\n",
       "  0.03457772731781006,\n",
       "  -0.027345480397343636,\n",
       "  0.02951125241816044,\n",
       "  0.0302269347012043,\n",
       "  -0.033100903034210205,\n",
       "  -0.006168649531900883,\n",
       "  0.04401412233710289,\n",
       "  -0.038613174110651016,\n",
       "  0.09523477405309677,\n",
       "  -0.05213898792862892,\n",
       "  -0.016907494515180588,\n",
       "  -0.03658895194530487,\n",
       "  0.0476527102291584,\n",
       "  0.04146495461463928,\n",
       "  0.06098462641239166,\n",
       "  -0.04021933674812317,\n",
       "  -0.040970463305711746,\n",
       "  -0.014240965247154236,\n",
       "  -0.024884920567274094,\n",
       "  0.032682232558727264,\n",
       "  -0.0277035441249609,\n",
       "  0.04262895882129669,\n",
       "  -0.04760521650314331,\n",
       "  0.03548070043325424,\n",
       "  0.04008643701672554,\n",
       "  -0.00395822711288929,\n",
       "  -0.02297179587185383,\n",
       "  0.06029569357633591,\n",
       "  -0.02318209782242775,\n",
       "  0.055005986243486404,\n",
       "  -0.023742984980344772,\n",
       "  -0.062281083315610886,\n",
       "  -0.010411083698272705,\n",
       "  0.02427413873374462,\n",
       "  -0.03085973672568798,\n",
       "  0.02358141355216503,\n",
       "  -0.05563989281654358,\n",
       "  0.008028876036405563,\n",
       "  0.019019275903701782,\n",
       "  0.030980588868260384,\n",
       "  0.02023460529744625,\n",
       "  -0.01102001778781414,\n",
       "  -0.007157390471547842,\n",
       "  -0.037069931626319885,\n",
       "  0.01955384947359562,\n",
       "  -0.024329859763383865,\n",
       "  0.00556764705106616,\n",
       "  -0.006292359437793493,\n",
       "  -0.013093208894133568,\n",
       "  -0.024590859189629555,\n",
       "  0.004317376762628555,\n",
       "  -0.01114180963486433,\n",
       "  -0.07510169595479965,\n",
       "  -0.015776949003338814,\n",
       "  -0.015235396102070808,\n",
       "  -0.11692285537719727,\n",
       "  0.03907231241464615,\n",
       "  0.013141777366399765,\n",
       "  -0.01816263049840927,\n",
       "  0.02749919705092907,\n",
       "  -0.041749559342861176,\n",
       "  0.031167199835181236,\n",
       "  -0.036961447447538376,\n",
       "  0.023010442033410072,\n",
       "  -0.0390595905482769,\n",
       "  0.04417238384485245,\n",
       "  0.035260919481515884,\n",
       "  -0.03154989704489708,\n",
       "  -0.07916585355997086,\n",
       "  -0.043520621955394745,\n",
       "  -0.09353926032781601,\n",
       "  -0.0616278238594532,\n",
       "  -0.001630950253456831,\n",
       "  -0.05157042667269707,\n",
       "  -0.03925661742687225,\n",
       "  0.10223419219255447,\n",
       "  0.026804760098457336,\n",
       "  0.005270840600132942,\n",
       "  0.001888574450276792,\n",
       "  0.01915510557591915,\n",
       "  -0.05581049248576164,\n",
       "  -0.02500823326408863,\n",
       "  0.010854401625692844,\n",
       "  0.012590440921485424,\n",
       "  -0.05876389890909195,\n",
       "  0.05130573734641075,\n",
       "  -0.05984410643577576,\n",
       "  -0.004162891767919064,\n",
       "  0.022982127964496613,\n",
       "  -0.02163352631032467,\n",
       "  -0.03909429535269737,\n",
       "  0.028053097426891327,\n",
       "  0.0003004975733347237,\n",
       "  0.03739397972822189,\n",
       "  -0.05793110653758049,\n",
       "  0.013367010280489922,\n",
       "  -0.015518109314143658,\n",
       "  -0.05148974061012268,\n",
       "  -0.028194990009069443,\n",
       "  0.046636585146188736,\n",
       "  0.047526802867650986,\n",
       "  -0.023877844214439392,\n",
       "  0.0801147073507309,\n",
       "  -0.03056277334690094,\n",
       "  -0.052598658949136734,\n",
       "  -0.0063879950903356075,\n",
       "  -0.03977468982338905,\n",
       "  -0.04370880872011185,\n",
       "  0.030745379626750946,\n",
       "  -0.06404656916856766,\n",
       "  -0.04457622021436691,\n",
       "  0.11753252893686295,\n",
       "  -0.01743617095053196,\n",
       "  -0.02056085877120495,\n",
       "  -0.016882702708244324,\n",
       "  0.09433363378047943,\n",
       "  -0.055388595908880234,\n",
       "  -0.03943166509270668,\n",
       "  0.044124431908130646,\n",
       "  -0.009178799577057362,\n",
       "  -0.000727997103240341,\n",
       "  0.036487456411123276,\n",
       "  -0.08491230010986328,\n",
       "  -0.053023118525743484,\n",
       "  0.04221116751432419,\n",
       "  0.08808533102273941,\n",
       "  -0.053792838007211685,\n",
       "  0.006400297395884991,\n",
       "  0.012515532784163952,\n",
       "  -0.0135650634765625,\n",
       "  0.052214790135622025,\n",
       "  -0.024780284613370895,\n",
       "  -0.024836868047714233,\n",
       "  0.03698670491576195,\n",
       "  0.0595795176923275,\n",
       "  0.0794268250465393,\n",
       "  0.009652635082602501,\n",
       "  -0.04841874539852142,\n",
       "  0.049413349479436874,\n",
       "  0.058355797082185745,\n",
       "  0.05050681531429291,\n",
       "  -0.0265462975949049,\n",
       "  -0.04160139709711075,\n",
       "  0.06433543562889099,\n",
       "  0.04615255445241928,\n",
       "  0.026276420801877975,\n",
       "  0.06130407378077507,\n",
       "  -0.0028281565755605698,\n",
       "  -0.017325151711702347,\n",
       "  0.03337569907307625,\n",
       "  -0.04438005015254021,\n",
       "  0.0026251645758748055,\n",
       "  0.05341281741857529,\n",
       "  0.0007744057802483439,\n",
       "  -0.002539220033213496,\n",
       "  -0.034056443721055984,\n",
       "  -0.046686068177223206,\n",
       "  0.06971792876720428,\n",
       "  0.017885861918330193,\n",
       "  -0.06416098773479462,\n",
       "  0.08260136842727661,\n",
       "  0.07056815922260284,\n",
       "  -0.02210857905447483,\n",
       "  0.12284815311431885,\n",
       "  0.07838936895132065,\n",
       "  0.024278052151203156,\n",
       "  -0.007603459991514683,\n",
       "  -0.002037512371316552,\n",
       "  0.0055340975522994995,\n",
       "  -0.06147068738937378,\n",
       "  0.04797042906284332,\n",
       "  0.013644857332110405,\n",
       "  0.035435888916254044,\n",
       "  -0.08207476884126663,\n",
       "  0.01711486279964447,\n",
       "  0.043712057173252106,\n",
       "  -0.05014723539352417,\n",
       "  -0.019287234172225,\n",
       "  -0.009915498085319996,\n",
       "  -0.001018251059576869,\n",
       "  0.02531292289495468,\n",
       "  -0.06011974439024925,\n",
       "  0.03540169447660446,\n",
       "  0.04167270287871361,\n",
       "  0.05316346138715744,\n",
       "  0.05451125651597977,\n",
       "  0.03150677680969238,\n",
       "  -0.06319829076528549,\n",
       "  0.009301145561039448,\n",
       "  0.01394648663699627,\n",
       "  0.006478855386376381,\n",
       "  0.042452480643987656,\n",
       "  0.046002909541130066,\n",
       "  0.02621970884501934,\n",
       "  -0.0018738519866019487,\n",
       "  0.04409918189048767,\n",
       "  -0.04498133808374405,\n",
       "  0.021322958171367645,\n",
       "  0.028999095782637596,\n",
       "  0.050907887518405914,\n",
       "  0.031242553144693375,\n",
       "  -0.07122363150119781,\n",
       "  -0.042872730642557144]}"
      ]
     },
     "execution_count": 3,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "inst_ds[-15]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'file_name': '../../input/validation_dataset_part1/image/001645/1.jpg',\n",
       " 'height': 800,\n",
       " 'width': 800,\n",
       " 'item_id': '001645',\n",
       " 'type': 'image',\n",
       " 'bbox': [229, 22, 548, 778],\n",
       " 'score': 0.997787356376648,\n",
       " 'bbox_aspect': 0.421957671957672,\n",
       " 'aspect_group': 2,\n",
       " 'feat': [0.07581817358732224,\n",
       "  -0.05067245289683342,\n",
       "  0.012398162856698036,\n",
       "  -0.01395690068602562,\n",
       "  -0.03615764528512955,\n",
       "  -0.023070985451340675,\n",
       "  0.018611563369631767,\n",
       "  0.032739270478487015,\n",
       "  -0.06082642823457718,\n",
       "  0.020415199920535088,\n",
       "  0.010319114662706852,\n",
       "  -0.05381931737065315,\n",
       "  -0.029176820069551468,\n",
       "  -0.036551281809806824,\n",
       "  -0.03877662867307663,\n",
       "  -0.060441531240940094,\n",
       "  -0.04532082378864288,\n",
       "  0.021239884197711945,\n",
       "  0.0058607663959264755,\n",
       "  -0.028380481526255608,\n",
       "  -0.02442200481891632,\n",
       "  0.058340173214673996,\n",
       "  0.03154062107205391,\n",
       "  0.04988424852490425,\n",
       "  -0.00392179237678647,\n",
       "  0.042579151690006256,\n",
       "  0.015087530016899109,\n",
       "  -0.06939172744750977,\n",
       "  -0.04835684970021248,\n",
       "  -0.04505016282200813,\n",
       "  -0.06746786832809448,\n",
       "  -0.0436047688126564,\n",
       "  0.0011427773861214519,\n",
       "  0.037312284111976624,\n",
       "  0.019277438521385193,\n",
       "  0.002619621343910694,\n",
       "  0.02153327874839306,\n",
       "  0.03714141994714737,\n",
       "  -0.029921088367700577,\n",
       "  0.027186691761016846,\n",
       "  -0.0404214933514595,\n",
       "  0.03724672272801399,\n",
       "  -0.008445103652775288,\n",
       "  -0.033611323684453964,\n",
       "  -0.015185538679361343,\n",
       "  0.05888588726520538,\n",
       "  0.051559023559093475,\n",
       "  0.04667788743972778,\n",
       "  0.02717476151883602,\n",
       "  -0.026050111278891563,\n",
       "  0.016609052196145058,\n",
       "  -0.01329348236322403,\n",
       "  -0.01435756403952837,\n",
       "  -0.09492608904838562,\n",
       "  -0.05007265880703926,\n",
       "  -0.01870686747133732,\n",
       "  -0.040836039930582047,\n",
       "  0.023189349099993706,\n",
       "  -0.020636701956391335,\n",
       "  -0.0068640331737697124,\n",
       "  0.014839102514088154,\n",
       "  0.04266512021422386,\n",
       "  -0.02716430090367794,\n",
       "  0.00530901737511158,\n",
       "  -0.02862299419939518,\n",
       "  -0.0023265681229531765,\n",
       "  -0.05530315265059471,\n",
       "  0.04161718860268593,\n",
       "  -0.010190095752477646,\n",
       "  -0.012331612408161163,\n",
       "  -0.1420540064573288,\n",
       "  -0.01633068546652794,\n",
       "  0.01325980480760336,\n",
       "  0.07864602655172348,\n",
       "  -0.01926490291953087,\n",
       "  -0.012820341624319553,\n",
       "  0.010110711678862572,\n",
       "  0.06896944344043732,\n",
       "  0.007060225587338209,\n",
       "  -0.04739611595869064,\n",
       "  0.028603706508874893,\n",
       "  -0.019220205023884773,\n",
       "  -0.004038244020193815,\n",
       "  -0.006171722896397114,\n",
       "  -0.011329324916005135,\n",
       "  -0.012574218213558197,\n",
       "  0.048226241022348404,\n",
       "  -0.007780943065881729,\n",
       "  -0.03629056736826897,\n",
       "  0.034358639270067215,\n",
       "  0.05929698422551155,\n",
       "  0.020248273387551308,\n",
       "  0.04087468236684799,\n",
       "  -0.02999839000403881,\n",
       "  -0.0072271027602255344,\n",
       "  0.05558469891548157,\n",
       "  0.030352303758263588,\n",
       "  -0.05091053247451782,\n",
       "  -0.024048637598752975,\n",
       "  0.06765800714492798,\n",
       "  -0.03991583362221718,\n",
       "  -0.027024537324905396,\n",
       "  0.0561327300965786,\n",
       "  0.02122008241713047,\n",
       "  -0.013363915495574474,\n",
       "  0.024096030741930008,\n",
       "  0.06975530833005905,\n",
       "  -0.045203983783721924,\n",
       "  0.019656812772154808,\n",
       "  -0.04717059060931206,\n",
       "  0.03225047513842583,\n",
       "  0.013907407410442829,\n",
       "  -0.018965980038046837,\n",
       "  -0.000514655897859484,\n",
       "  0.02164722979068756,\n",
       "  -0.0606946125626564,\n",
       "  0.05061371996998787,\n",
       "  0.020990630611777306,\n",
       "  0.006547632161527872,\n",
       "  0.022338973358273506,\n",
       "  -0.009316841140389442,\n",
       "  0.0402483195066452,\n",
       "  0.004070296883583069,\n",
       "  -0.012478518299758434,\n",
       "  -0.005457864608615637,\n",
       "  -0.02340618520975113,\n",
       "  -0.05858010798692703,\n",
       "  0.06466761976480484,\n",
       "  0.02810923382639885,\n",
       "  0.002859208034351468,\n",
       "  0.029328495264053345,\n",
       "  -0.034255411475896835,\n",
       "  0.001474115764722228,\n",
       "  0.010631770826876163,\n",
       "  -0.030871903523802757,\n",
       "  0.030431348830461502,\n",
       "  0.02544989064335823,\n",
       "  0.009106569923460484,\n",
       "  0.060458119958639145,\n",
       "  -0.03633086755871773,\n",
       "  -0.019585728645324707,\n",
       "  -0.0547352135181427,\n",
       "  0.029279673472046852,\n",
       "  -0.05778607726097107,\n",
       "  0.05360976979136467,\n",
       "  -0.06025025621056557,\n",
       "  -0.017172519117593765,\n",
       "  -0.005651903338730335,\n",
       "  -0.034857477992773056,\n",
       "  -0.0023960547987371683,\n",
       "  0.00036939678830094635,\n",
       "  0.11615660786628723,\n",
       "  0.010280463844537735,\n",
       "  0.07346969097852707,\n",
       "  0.047029029577970505,\n",
       "  0.04144975543022156,\n",
       "  0.04401661083102226,\n",
       "  -0.025483623147010803,\n",
       "  -0.00031677354127168655,\n",
       "  -0.026466092094779015,\n",
       "  0.00429989118129015,\n",
       "  -0.02381662093102932,\n",
       "  -0.0914917141199112,\n",
       "  0.002152326051145792,\n",
       "  0.0665116161108017,\n",
       "  0.07513923197984695,\n",
       "  0.1284152716398239,\n",
       "  -0.004675580654293299,\n",
       "  -0.04107876494526863,\n",
       "  -0.01976490020751953,\n",
       "  0.07092799246311188,\n",
       "  -0.10938926041126251,\n",
       "  -0.02664429321885109,\n",
       "  0.0417148694396019,\n",
       "  -0.04695560783147812,\n",
       "  0.03406751528382301,\n",
       "  -0.014274035580456257,\n",
       "  -0.11691951006650925,\n",
       "  0.0573999248445034,\n",
       "  -0.05171675980091095,\n",
       "  0.00044359886669553816,\n",
       "  0.07995454967021942,\n",
       "  -0.041200608015060425,\n",
       "  -0.0042859818786382675,\n",
       "  0.01622150093317032,\n",
       "  -0.03639870509505272,\n",
       "  0.050654336810112,\n",
       "  0.002336409641429782,\n",
       "  -0.06463973224163055,\n",
       "  -0.040125902742147446,\n",
       "  0.03866778686642647,\n",
       "  -0.04878753423690796,\n",
       "  0.01082784216850996,\n",
       "  0.08920703828334808,\n",
       "  0.00974507350474596,\n",
       "  -0.11078988760709763,\n",
       "  -0.005028895102441311,\n",
       "  0.09477148205041885,\n",
       "  0.04162536934018135,\n",
       "  -0.0005644455668516457,\n",
       "  0.02053886279463768,\n",
       "  0.0013057112228125334,\n",
       "  0.053618527948856354,\n",
       "  -0.0021105660125613213,\n",
       "  0.018872693181037903,\n",
       "  -0.06613918393850327,\n",
       "  0.0079486770555377,\n",
       "  0.05319106578826904,\n",
       "  0.022053077816963196,\n",
       "  0.0723603367805481,\n",
       "  0.03568974882364273,\n",
       "  -0.07992370426654816,\n",
       "  0.04673554375767708,\n",
       "  0.08919147402048111,\n",
       "  0.07419561594724655,\n",
       "  -0.0017136632231995463,\n",
       "  0.014655900187790394,\n",
       "  -0.016990449279546738,\n",
       "  -0.005400113295763731,\n",
       "  0.04672535881400108,\n",
       "  -0.13038977980613708,\n",
       "  0.027506036683917046,\n",
       "  0.018084261566400528,\n",
       "  -0.00904869195073843,\n",
       "  0.07117555290460587,\n",
       "  0.05490764603018761,\n",
       "  0.0233287550508976,\n",
       "  0.01614169031381607,\n",
       "  0.00789978913962841,\n",
       "  0.033394668251276016,\n",
       "  -0.0827552005648613,\n",
       "  0.07193733751773834,\n",
       "  0.02603430114686489,\n",
       "  -0.03591231629252434,\n",
       "  -0.008705445565283298,\n",
       "  0.0027492742519825697,\n",
       "  -0.10227598994970322,\n",
       "  -0.034523069858551025,\n",
       "  0.017185095697641373,\n",
       "  0.02086423523724079,\n",
       "  -0.00945387315005064,\n",
       "  0.03359183296561241,\n",
       "  -0.01789013110101223,\n",
       "  0.029896840453147888,\n",
       "  0.01997244358062744,\n",
       "  -0.0547734834253788,\n",
       "  0.04865005984902382,\n",
       "  -0.09091994911432266,\n",
       "  -0.02938265912234783,\n",
       "  0.023319322615861893,\n",
       "  -0.015561483800411224,\n",
       "  0.027086755260825157,\n",
       "  0.03157598525285721,\n",
       "  0.013805003836750984,\n",
       "  0.03348592296242714,\n",
       "  0.005370983853936195,\n",
       "  -0.021799424663186073,\n",
       "  -0.013671298511326313,\n",
       "  0.019650757312774658,\n",
       "  -0.09500601142644882,\n",
       "  -0.01164851151406765,\n",
       "  -0.05177092179656029,\n",
       "  0.0011530760675668716,\n",
       "  -0.008790047839283943,\n",
       "  0.04450644180178642,\n",
       "  0.009635335765779018,\n",
       "  0.05170563980937004,\n",
       "  -0.07241293042898178,\n",
       "  -0.017127223312854767,\n",
       "  -0.05425972864031792,\n",
       "  -0.006032639183104038,\n",
       "  0.022485807538032532,\n",
       "  0.020402709022164345,\n",
       "  -0.02598830685019493,\n",
       "  -0.015467646531760693,\n",
       "  -0.057277701795101166,\n",
       "  -0.027456894516944885,\n",
       "  0.010698862373828888,\n",
       "  0.05345875769853592,\n",
       "  -0.035780228674411774,\n",
       "  0.010227524675428867,\n",
       "  0.046950943768024445,\n",
       "  -0.0037530516274273396,\n",
       "  0.042347442358732224,\n",
       "  -0.00029555006767623127,\n",
       "  -0.06605204939842224,\n",
       "  0.06548921018838882,\n",
       "  0.004526865668594837,\n",
       "  -0.12037522345781326,\n",
       "  0.01730949617922306,\n",
       "  -0.05149862542748451,\n",
       "  -0.06308276206254959,\n",
       "  -0.03104543313384056,\n",
       "  -0.04578414559364319,\n",
       "  0.01802286133170128,\n",
       "  -0.018199477344751358,\n",
       "  -0.002966521307826042,\n",
       "  -0.039928216487169266,\n",
       "  0.02506985142827034,\n",
       "  -0.094792939722538,\n",
       "  -0.03208845853805542,\n",
       "  0.09870579093694687,\n",
       "  0.01485677994787693,\n",
       "  0.053910356014966965,\n",
       "  -0.08232524991035461,\n",
       "  0.03378160670399666,\n",
       "  0.04532694071531296,\n",
       "  -0.04127547889947891,\n",
       "  -0.028690669685602188,\n",
       "  0.03457772731781006,\n",
       "  -0.027345480397343636,\n",
       "  0.02951125241816044,\n",
       "  0.0302269347012043,\n",
       "  -0.033100903034210205,\n",
       "  -0.006168649531900883,\n",
       "  0.04401412233710289,\n",
       "  -0.038613174110651016,\n",
       "  0.09523477405309677,\n",
       "  -0.05213898792862892,\n",
       "  -0.016907494515180588,\n",
       "  -0.03658895194530487,\n",
       "  0.0476527102291584,\n",
       "  0.04146495461463928,\n",
       "  0.06098462641239166,\n",
       "  -0.04021933674812317,\n",
       "  -0.040970463305711746,\n",
       "  -0.014240965247154236,\n",
       "  -0.024884920567274094,\n",
       "  0.032682232558727264,\n",
       "  -0.0277035441249609,\n",
       "  0.04262895882129669,\n",
       "  -0.04760521650314331,\n",
       "  0.03548070043325424,\n",
       "  0.04008643701672554,\n",
       "  -0.00395822711288929,\n",
       "  -0.02297179587185383,\n",
       "  0.06029569357633591,\n",
       "  -0.02318209782242775,\n",
       "  0.055005986243486404,\n",
       "  -0.023742984980344772,\n",
       "  -0.062281083315610886,\n",
       "  -0.010411083698272705,\n",
       "  0.02427413873374462,\n",
       "  -0.03085973672568798,\n",
       "  0.02358141355216503,\n",
       "  -0.05563989281654358,\n",
       "  0.008028876036405563,\n",
       "  0.019019275903701782,\n",
       "  0.030980588868260384,\n",
       "  0.02023460529744625,\n",
       "  -0.01102001778781414,\n",
       "  -0.007157390471547842,\n",
       "  -0.037069931626319885,\n",
       "  0.01955384947359562,\n",
       "  -0.024329859763383865,\n",
       "  0.00556764705106616,\n",
       "  -0.006292359437793493,\n",
       "  -0.013093208894133568,\n",
       "  -0.024590859189629555,\n",
       "  0.004317376762628555,\n",
       "  -0.01114180963486433,\n",
       "  -0.07510169595479965,\n",
       "  -0.015776949003338814,\n",
       "  -0.015235396102070808,\n",
       "  -0.11692285537719727,\n",
       "  0.03907231241464615,\n",
       "  0.013141777366399765,\n",
       "  -0.01816263049840927,\n",
       "  0.02749919705092907,\n",
       "  -0.041749559342861176,\n",
       "  0.031167199835181236,\n",
       "  -0.036961447447538376,\n",
       "  0.023010442033410072,\n",
       "  -0.0390595905482769,\n",
       "  0.04417238384485245,\n",
       "  0.035260919481515884,\n",
       "  -0.03154989704489708,\n",
       "  -0.07916585355997086,\n",
       "  -0.043520621955394745,\n",
       "  -0.09353926032781601,\n",
       "  -0.0616278238594532,\n",
       "  -0.001630950253456831,\n",
       "  -0.05157042667269707,\n",
       "  -0.03925661742687225,\n",
       "  0.10223419219255447,\n",
       "  0.026804760098457336,\n",
       "  0.005270840600132942,\n",
       "  0.001888574450276792,\n",
       "  0.01915510557591915,\n",
       "  -0.05581049248576164,\n",
       "  -0.02500823326408863,\n",
       "  0.010854401625692844,\n",
       "  0.012590440921485424,\n",
       "  -0.05876389890909195,\n",
       "  0.05130573734641075,\n",
       "  -0.05984410643577576,\n",
       "  -0.004162891767919064,\n",
       "  0.022982127964496613,\n",
       "  -0.02163352631032467,\n",
       "  -0.03909429535269737,\n",
       "  0.028053097426891327,\n",
       "  0.0003004975733347237,\n",
       "  0.03739397972822189,\n",
       "  -0.05793110653758049,\n",
       "  0.013367010280489922,\n",
       "  -0.015518109314143658,\n",
       "  -0.05148974061012268,\n",
       "  -0.028194990009069443,\n",
       "  0.046636585146188736,\n",
       "  0.047526802867650986,\n",
       "  -0.023877844214439392,\n",
       "  0.0801147073507309,\n",
       "  -0.03056277334690094,\n",
       "  -0.052598658949136734,\n",
       "  -0.0063879950903356075,\n",
       "  -0.03977468982338905,\n",
       "  -0.04370880872011185,\n",
       "  0.030745379626750946,\n",
       "  -0.06404656916856766,\n",
       "  -0.04457622021436691,\n",
       "  0.11753252893686295,\n",
       "  -0.01743617095053196,\n",
       "  -0.02056085877120495,\n",
       "  -0.016882702708244324,\n",
       "  0.09433363378047943,\n",
       "  -0.055388595908880234,\n",
       "  -0.03943166509270668,\n",
       "  0.044124431908130646,\n",
       "  -0.009178799577057362,\n",
       "  -0.000727997103240341,\n",
       "  0.036487456411123276,\n",
       "  -0.08491230010986328,\n",
       "  -0.053023118525743484,\n",
       "  0.04221116751432419,\n",
       "  0.08808533102273941,\n",
       "  -0.053792838007211685,\n",
       "  0.006400297395884991,\n",
       "  0.012515532784163952,\n",
       "  -0.0135650634765625,\n",
       "  0.052214790135622025,\n",
       "  -0.024780284613370895,\n",
       "  -0.024836868047714233,\n",
       "  0.03698670491576195,\n",
       "  0.0595795176923275,\n",
       "  0.0794268250465393,\n",
       "  0.009652635082602501,\n",
       "  -0.04841874539852142,\n",
       "  0.049413349479436874,\n",
       "  0.058355797082185745,\n",
       "  0.05050681531429291,\n",
       "  -0.0265462975949049,\n",
       "  -0.04160139709711075,\n",
       "  0.06433543562889099,\n",
       "  0.04615255445241928,\n",
       "  0.026276420801877975,\n",
       "  0.06130407378077507,\n",
       "  -0.0028281565755605698,\n",
       "  -0.017325151711702347,\n",
       "  0.03337569907307625,\n",
       "  -0.04438005015254021,\n",
       "  0.0026251645758748055,\n",
       "  0.05341281741857529,\n",
       "  0.0007744057802483439,\n",
       "  -0.002539220033213496,\n",
       "  -0.034056443721055984,\n",
       "  -0.046686068177223206,\n",
       "  0.06971792876720428,\n",
       "  0.017885861918330193,\n",
       "  -0.06416098773479462,\n",
       "  0.08260136842727661,\n",
       "  0.07056815922260284,\n",
       "  -0.02210857905447483,\n",
       "  0.12284815311431885,\n",
       "  0.07838936895132065,\n",
       "  0.024278052151203156,\n",
       "  -0.007603459991514683,\n",
       "  -0.002037512371316552,\n",
       "  0.0055340975522994995,\n",
       "  -0.06147068738937378,\n",
       "  0.04797042906284332,\n",
       "  0.013644857332110405,\n",
       "  0.035435888916254044,\n",
       "  -0.08207476884126663,\n",
       "  0.01711486279964447,\n",
       "  0.043712057173252106,\n",
       "  -0.05014723539352417,\n",
       "  -0.019287234172225,\n",
       "  -0.009915498085319996,\n",
       "  -0.001018251059576869,\n",
       "  0.02531292289495468,\n",
       "  -0.06011974439024925,\n",
       "  0.03540169447660446,\n",
       "  0.04167270287871361,\n",
       "  0.05316346138715744,\n",
       "  0.05451125651597977,\n",
       "  0.03150677680969238,\n",
       "  -0.06319829076528549,\n",
       "  0.009301145561039448,\n",
       "  0.01394648663699627,\n",
       "  0.006478855386376381,\n",
       "  0.042452480643987656,\n",
       "  0.046002909541130066,\n",
       "  0.02621970884501934,\n",
       "  -0.0018738519866019487,\n",
       "  0.04409918189048767,\n",
       "  -0.04498133808374405,\n",
       "  0.021322958171367645,\n",
       "  0.028999095782637596,\n",
       "  0.050907887518405914,\n",
       "  0.031242553144693375,\n",
       "  -0.07122363150119781,\n",
       "  -0.042872730642557144]}"
      ]
     },
     "execution_count": 4,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "inst_ds[-15]"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.6.7"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 4
}
